/**
 * Created by Administrator on 2017/3/27.
 */
"use strict";
zmvp
    .controller("HeaderController",function($scope){
        $scope.selected=0;


        $scope.change = function(option){
            $scope.selected = option;
        };
        $scope.style1=null;
        $scope.style2=null;
        $scope.enter = function(option){
            if(option==1){
                $scope.style1={display:"block",visibility:"visible"};
            }
            if(option==2){
                $scope.style2={display:"block",visibility:"visible"};
            }
        };
        $scope.leave = function(option){
            if(option==1){
                $scope.style1=null;
            }
            if(option==2){
                $scope.style2=null;
            }
        }



    });